package com.bub.pay.outer.redis.email;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component(value = "emailProperties")
@ConfigurationProperties(prefix = "email-config", ignoreUnknownFields = false)
public class EmailProperties {

	private String host = "smtp.gmail.com";
	private int port = 25;
	private String from = "service@bubchain.com";
	private String user = "service@bubchain.com";
	private String password = "bubchain323";

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
